package com.tear.language.parser;

import java.util.Map;


public interface Parser {
	
	public static Parser getParser(String format) {
		return new JSonParser();
	}
	
	//正式解析执行
	public Result parser(String str,Map<String,Object> params);
	
	//正式解析执行
	public Result parser(String str,Map<String,Object> scope,Map<String,Object> params);
	
	//测试解析执行
	public Result testParser(String str,Map<String,Object> params);
	
}
